<div class="container">
	<div class="content">
		<form method="post" action="/session/connexion" class="form-stacked well" style="margin: 0px auto; width: 300px;">
		<h1>Connexion</h1><br/>
			<?php if (isset($error_login)){ ?>
			<div class="clearfix error">
			<?php	} else { ?>
				<div class="clearfix">
			<?php } ?>
				<label>Identifiant : </label>
				<div class="input">
				<?php if (isset($prev_login)){ ?>
					<input class="span5" type="text" name="login" value="<?php echo $prev_login; ?>"/>
				<?php	} else { ?>
					<input class="span5" type="text" name="login"/>
				<?php } ?>
				<?php if (isset($error_login)){ ?>
					<span class="help-inline"><?php echo $error_login; ?></span>
				<?php } ?>
				</div>
			</div>
			<?php if (isset($error_password)){ ?>
			<div class="clearfix error">
			<?php	} else { ?>
			<div class="clearfix">
			<?php } ?>
				<label>Mot de passe : </label>
				<div class="input">
					<input class="span5" type="password" name="password"/>
					<?php if (isset($error_password)){ ?>
						<span class="help-inline"><?php echo $error_password; ?></span>
					<?php } ?>
				</div>
			</div>
			<div class="actions"style="margin-top: 40px; margin-bottom: 0px;">
				<button type="submit" class="btn info">Envoyer</button>
				<span style="margin-left: 10px;">Nouveau sur le site ? <a href="inscription" >Inscription</a></span>
			</div>
		</form>
	</div>
</div>